package org.jeecg.modules.demo.trader.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.modules.demo.trader.entity.Trader;
import org.jeecg.modules.demo.trader.mapper.TraderMapper;
import org.jeecg.modules.demo.trader.service.ITraderService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: trader
 * @Author: jeecg-boot
 * @Date:   2025-04-27
 * @Version: V1.0
 */
@DS("multi-datasource1")
@Service
public class TraderServiceImpl extends ServiceImpl<TraderMapper, Trader> implements ITraderService {

    @Override
    public String genrateTraderId(String text) {
        return baseMapper.genrateTraderId(text);
    }
}
